﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApplication1
{
    public partial class WebForm2 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string userName3 = Request.Params["UserName"];
            string password3 = Request.Params["Password"];
            string userName4 = Request.QueryString["n"];
            string password4 = Request.QueryString["p"];
            string userName5 = Request.Params["n"];
            string password5 = Request.Params["p"];
            Response.Write($"Params  ==>  你的账号是：{userName3}，你的密码是{password3} <br/>");
            Response.Write($"QueryString  ==>  你的账号是：{userName4}，你的密码是{password4} <br/>");
            Response.Write($"Params  ==>  你的账号是：{userName5}，你的密码是{password5} <br/>");
        }
    }
}